<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
%>
<% 	boolean isLogin = false;
	if(request.getSession().getAttribute("Login")!=null){
		isLogin = true;
	}
	String contextPath =request.getContextPath();
	String postNum = (String)request.getParameter("post_Num");
%>
<%if(isLogin){ %>
<div style="padding:50px;">
<form action="<%=contextPath %>/PostServlet?post_Num=<%=postNum %>" method="post">

	<div id =direct></div>

	<div style="padding:10px;border-style: dotted;border-width:1px;">
	<!-- <div>图片&nbsp;&nbsp;&nbsp;&nbsp;视频&nbsp;&nbsp;&nbsp;&nbsp;音乐&nbsp;&nbsp;&nbsp;&nbsp;表情&nbsp;&nbsp;&nbsp;&nbsp;附件&nbsp;&nbsp;&nbsp;&nbsp;涂鸦</div> -->
	<input type = "hidden" name ="postNum" value='<%=postNum %>' />
	<textarea name='content' rows='5'
		style ="width: 99%;algin:center;"
	></textarea>
	</div>
	<p align = "center"><input type ='submit'  value='发表'/></p>
</form>
</div>
<%} %>